package com.beiding.exception;

public class NotFoundException extends RuntimeException {


    private static NotFoundException exception;

    public static NotFoundException getInstance() {
        if (exception == null) {
            exception = new NotFoundException("资源未找到");
        }
        return exception;
    }

    private NotFoundException(String message) {
        super(message);
    }
}
